package com.punch.common.vo.course;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class IndexVO implements Serializable {

    private Long id;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String title;

    private String imageUrl;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<IndexVO> childList;
}